package cn.green.core.components.field;

import com.alibaba.fastjson.JSONObject;
import cn.green.core.model.QField;

/**
 * @author wang.yishu
 * @version 1.0
 * @className FieldCheckTypeCom
 * @description 字段校验类型
 * @date 2024/11/18 9:21
 */
public interface FieldCheckTypeCom {
    String typeCode();
    String typeName();
    boolean check(QField primary, QField field, JSONObject record);
    String message();
    boolean required();
}
